home *** CD-ROM | disk | FTP | other *** search
/ Software of the Month Club 2000 October / Software of the Month - Ultimate Collection Shareware 277.iso / pc / PROGRAMS / UTILITY / WINLINUX / DATA1.CAB / usr_-_Usr_Files / INCLUDE / SHAREDLI.{31 < prev    next >
Text File  |  1999-09-17  |  382b  |  23 lines

  1. #ifndef _SHAREDLIB_H
  2. #define _SHAREDLIB_H
  3.  
  4. struct libentry
  5. {
  6.   char *name;
  7.   char *avers;
  8.   unsigned addr;
  9.   unsigned vers;
  10. };
  11.  
  12. #define QUOTED(x) #x
  13.  
  14. #define MAJOR_MASK        0x0fff0000
  15. #define MINOR_MASK        0x0000ffff
  16. #define VERSION_MASK        0x0fffffff
  17. #define CLASSIC_BIT        0x10000000
  18.  
  19. #define data_set_element(set, symbol)   \
  20.   asm(".stabs \"_" #set "\",24,0,0,_" QUOTED(symbol))
  21.  
  22. #endif
  23.